package com.ruoyi.project.cms.knowledgemanagement.service;

import com.ruoyi.project.cms.knowledgemanagement.domain.Knowledge;
import com.ruoyi.project.cms.knowledgemanagement.mapper.KnowledgeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class KnowledgeServiceImpl implements IKnowledgeService {

    @Autowired
    private KnowledgeMapper knowledgeMapper;

    @Override
    public List<Knowledge> selectAllProject(Knowledge knowledge) {
        return knowledgeMapper.selectAll(knowledge);
    }
}
